//
//  MCVipCenterMoreNavView.m
//  TLYL
//
//  Created by MC on 2017/11/23.
//  Copyright © 2017年 TLYL01. All rights reserved.
//

#import "MCVipCenterMoreNavView.h"
#define HEIGHT_MCVipCenterMoreNavView 90

@implementation MCVipCenterMoreNavView
- (instancetype)initWithFrame:(CGRect)frame{
    
    if (self = [super initWithFrame:frame]) {
        
        [self setUpUI];
    }
    return self;
}


- (void)setUpUI{
    
    self.backgroundColor=RGB(255, 255, 255);
    self.layer.cornerRadius=10;
    self.clipsToBounds=YES;

    
    UIButton * btn_FLexplain = [[UIButton alloc]init];
    [self addSubview:btn_FLexplain];
    btn_FLexplain.frame=CGRectMake(0, 10, HEIGHT_MCVipCenterMoreNavView, (HEIGHT_MCVipCenterMoreNavView-20)/2.0);
    _btn_FLexplain=btn_FLexplain;
    [btn_FLexplain setTitle:@"福利说明" forState:UIControlStateNormal];
    [btn_FLexplain setTitleColor:RGB(46, 46, 46) forState:UIControlStateNormal];
    btn_FLexplain.titleLabel.font=[UIFont systemFontOfSize:12];
    
    UIView * line =[[UIView alloc]init];
    line.backgroundColor=[UIColor whiteColor];
    [self addSubview:line];
    line.frame=CGRectMake(17.5, 44.5, 55, 1);
    
    UIButton * btn_Rule = [[UIButton alloc]init];
    [self addSubview:btn_Rule];
    btn_Rule.frame=CGRectMake(0, HEIGHT_MCVipCenterMoreNavView/2.0, HEIGHT_MCVipCenterMoreNavView, (HEIGHT_MCVipCenterMoreNavView-20)/2.0);
    _btn_Rule=btn_Rule;
    [btn_Rule setTitle:@"规则条款" forState:UIControlStateNormal];
    [btn_Rule setTitleColor:RGB(46, 46, 46) forState:UIControlStateNormal];
    btn_Rule.titleLabel.font=[UIFont systemFontOfSize:12];
    
}




@end

